package com.mingqijia.gassafety.webserver.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @program: gassafety
 * @description: 组织部门管理列表请求参数
 * @author: zm
 * @create: 2024-07-30 14:31
 **/
@Data
@ApiModel(value = "组织部门列表入参")
public class OrganizationalDepartmentAddRequest {

    @ApiModelProperty("父级组织id")
    private String pid;

    @ApiModelProperty("组织名称")
    @NotNull(message = "组织名称不能为空")
    private String orgName;

    @ApiModelProperty("管理区域编码列表")
    @NotEmpty(message = "管理区域不能为空")
    private List<String> funcCodes;


    @ApiModelProperty("组织类型")
    @NotNull(message = "组织类型不能为空")
    private String orgType;

    @ApiModelProperty(value = "显示顺序")
    @NotNull(message = "显示顺序不能为空")
    private Integer displayOrder;


}
